package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Student implements Serializable{

    private static final long serialVersionUID =  1L;

    public Student (){
    }

    /** 主键 */
    private Long id;
    /** 家长表主键 */
    private Long parentId;
    /** 昵称 */
    private String name;
    /** 乳名 */
    private String infantName;
    /** 头像 */
    private String profilePhotoUrl;
    /** 0为男，1为女，2保密 */
    private Integer sex;
    /** 与家长关系 */
    private String relationShip;

    /** 出生时间前台传值 */
    private String birthdayStr;

    /** 出生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime birthday;
    /** 创建人 */
    private Long createUserId;
    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime  gmtCreateTime;
    /** 修改人 */
    private Long modifyUserId;
    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime  gmtModifyTime;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;

    public String getBirthdayStr() {
        return birthdayStr;
    }

    public void setBirthdayStr(String birthdayStr) {
        this.birthdayStr = birthdayStr;
    }

    public final Long getId() {
        return this.id;
	}

	public final void setId(final Long id) {
        this.id = id;
	}

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public final String getName() {
        return this.name;
	}

	public final void setName(final String name) {
        this.name = name;
	}

	public final String getInfantName() {
        return this.infantName;
	}

	public final void setInfantName(final String infantName) {
        this.infantName = infantName;
	}

	public final String getProfilePhotoUrl() {
        return this.profilePhotoUrl;
	}

	public final void setProfilePhotoUrl(final String profilePhotoUrl) {
        this.profilePhotoUrl = profilePhotoUrl;
	}

	public final Integer getSex() {
        return this.sex;
	}

	public final void setSex(final Integer sex) {
        this.sex = sex;
	}

	public final String getRelationShip() {
        return this.relationShip;
	}

	public final void setRelationShip(final String relationShip) {
        this.relationShip = relationShip;
	}


	public final Long getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
	}

    public LocalDateTime getBirthday() {
        return birthday;
    }

    public void setBirthday(LocalDateTime birthday) {
        this.birthday = birthday;
    }

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }

    public final Long getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
	}


	public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

}
